package com.kedacom.freedomLabel.model;

/**
 * @author licheng
 * @since 2020/3/12 16:04
 */
public class DialogKeyboardParams {

    public TYPE type;
    private String title;
    private String result;
    private int viewID;

    public DialogKeyboardParams(TYPE type, String title) {
        this.type = type;
        this.title = title;
    }

    public int getViewID() {
        return viewID;
    }

    public void setViewID(int viewID) {
        this.viewID = viewID;
    }

    public String getTitle() {
        return title;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public enum TYPE {

        FLOAT("正浮点数"),
        INTEGER("整数"),
        FLOAT_INTEGER("整数和正浮点数");

        private final String value;

        TYPE(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }
}